package com.link.base.base.contract.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.link.base.base.contract.dao.mybatis.mapper.BillInfoMapper;
import com.link.base.base.contract.model.BillInfo;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;

/**
 * 开票信息
 *
 * @author 阳晓琳
 * @date 2020-10-13 15:43:06
 */
@Service
public class BillInfoServiceImpl extends BasicServiceImpl<BillInfo> implements BillInfoService {

    @Resource
    private BillInfoMapper    billInfoMapper;

    @Override
    public BasicMapper<BillInfo> getBasicMapper() {
        return billInfoMapper;
    }

    @Override
    public BillInfo queryOneByErpId(BillInfo billInfo) throws Exception {
        return billInfoMapper.queryOneByErpId(billInfo);
    }
}